package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    public AjaxResult saveData(String name, Integer age, String sex);

    public AjaxResult saveData(MybatisReviewVO reviewVO);

    public AjaxResult deleteData(Long id);

    public AjaxResult updateData(MybatisReviewVO reviewVO);

    public AjaxResult getById(Long id);

    public List<Review> getDataByPage();
}
